package com.test.qpbgboot.schedule.pojo.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalTime;
import java.util.Date;
import java.util.List;

@Data
public class OrderInfo {
    @ApiModelProperty(value = "订单id")
    private Long id;
    @ApiModelProperty(value = "订单编号")
    private String orderNo;
    @ApiModelProperty(value = "用户id")
    private Long userId;
    @ApiModelProperty(value = "房间id")
    private Long roomId;
    @ApiModelProperty(value = "陪玩id")
    private String escortIds;
    @ApiModelProperty(value = "店家id")
    private Long shopId;
    @ApiModelProperty(value = "付款金额")
    private BigDecimal price;
    @ApiModelProperty(value = "订单状态 10已创建 20已提交 30待付款 40已取消 50待参加 60已参加 70已评价 80待退款 90已结束")
    private String orderStatus;
    @ApiModelProperty(value = "桌游内容")
    private String game;
    @ApiModelProperty(value = "额外说明")
    private String message;
    @ApiModelProperty(value = "店家说明")
    private String shopMessage;
    @ApiModelProperty(value = "预约日期")
    private LocalDate appointmentDate;
    @ApiModelProperty(value = "预约开始时间")
    private LocalTime startTime;
    @ApiModelProperty(value = "预约结束时间")
    private LocalTime endTime;
    @ApiModelProperty(value = "付款时间")
    private Date payTime;
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "陪玩id列表")
    private List<Long> escortIdList;
}
